home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / More Source / C⁄C++ / Marathon Map Viewer / @Source / myRegisterClasses.cpp < prev    next >
C/C++ Source or Header  |  1995-06-05  |  307b  |  14 lines

  1. #include "myRegisterClasses.h"
  2. #include "levelView.h"
  3.  
  4.  
  5. // this is where all the special view classes are registered
  6. // powerplant then calls your code to make an instance of one of these.
  7. void registerMyClasses(void)
  8.     {
  9.     URegistrar::RegisterClass(levelView::class_ID,      levelView::CreateViewStream);
  10.     }
  11.  
  12.  
  13.  
  14.